<template>
<div class="user">
    <div class="common-seach-wrap">
      <el-tabs v-model="activeName">
        <el-tab-pane :label="$t('plus.article_manage')" name="article">
          <ArticleIndex v-if="activeName == 'article'"></ArticleIndex>
        </el-tab-pane>
        <el-tab-pane :label="$t('plus.category_manage')" name="category">
          <CategoryIndex v-if="activeName == 'category'"></CategoryIndex>
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
import ArticleIndex from "./article/Index.vue";
import CategoryIndex from "./category/Index.vue";
export default {
  components: {
    ArticleIndex,
    CategoryIndex
  },
  data() {
    return {
      activeName: "article",
      /*是否加载完成*/
      loading: true
    };
  },
  created() {},
  methods: {}
};
</script>

